package com.xqf.securitydemo.service;

import org.springframework.security.core.Authentication;

import javax.servlet.http.HttpServletRequest;

/**
 * @author:祺诺
 * @name:谢钱枫1053557904@qq.com
 * @date:18/12/2021 上午 11:14
 * @poject:Security-Demo
 */
public interface MyService {
    boolean hasPermission(HttpServletRequest request, Authentication authentication);
}
